<h2><?php print $header?></h2>
<p><?php print $this->lang->line( 'form_field_info' )?></p>

<?php print form_open( 'form/user/form/newfield/'.$form_id.'/'.$this->validation->field_id, array( 'class' => 'horizontal' ) )?>
    <fieldset>
        <ol>
			<li>
                <?php print form_label( $this->lang->line( 'form_field_label' ), 'label' )?>
                <?php print form_input( 'label', $this->validation->label, 'id="label" class="text"' )?>
            </li>
			<li>
                <?php print form_label( $this->lang->line( 'form_field_type' ), 'type' )?>
                <?php print form_dropdown( 'type', $type_options, $this->validation->type )?>
            </li>
            <li class="submit">
                <?php print form_hidden( 'id', $this->validation->field_id )?>
                <div class="buttons">
	                <button type="submit" class="positive" name="submit" value="submit">
	                	<?php print $this->bep_assets->icon( 'disk' );?>
	                	<?php print $this->lang->line( 'general_save' )?>
	                </button>
	                <a href="<?php print site_url( 'form/user/form/showfields/'.$form_id )?>" class="negative">
	                	<?php print $this->bep_assets->icon( 'cross' );?>
	                	<?php print $this->lang->line( 'general_cancel' )?>
	                </a>
	            </div>
            </li>
        </ol>
    </fieldset>
<?php print form_close( )?>